Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@casual-simulation/crypto
Advanced tools
A common set of crypto helpers.
Defines a common interface for crypto implementations between web browsers and Node.js. (Currently only signing/verification and SHA-256 hashing is implemented)
npm install @casual-simulation/crypto
// ES6-style imports are required.
// If you are running in an environment that does not support ES Modules,
// then use Webpack or Babel to transpile to the format you want. (like CommonJS)
import { getHash, parsePublicPEMKey } from '@casual-simulation/crypto';
let myHash = getHash('Hello, World');
console.log('Hash: ', myHash);
// Hash: 03675ac53ff9cd1535ccc7dfcdfa2c458c5218371f418dc136f2d19ac1fbe8a5
let publicKeyPEM = `-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAryQICCl6NZ5gDKrnSztO
3Hy8PEUcuyvg/ikC+VcIo2SFFSf18a3IMYldIugqqqZCs4/4uVW3sbdLs/6PfgdX
7O9D22ZiFWHPYA2k2N744MNiCD1UE+tJyllUhSblK48bn+v1oZHCM0nYQ2NqUkvS
j+hwUU3RiWl7x3D2s9wSdNt7XUtW05a/FXehsPSiJfKvHJJnGOX0BgTvkLnkAOTd
OrUZ/wK69Dzu4IvrN4vs9Nes8vbwPa/ddZEzGR0cQMt0JBkhk9kU/qwqUseP1QRJ
5I1jR4g8aYPL/ke9K35PxZWuDp3U0UPAZ3PjFAh+5T+fc7gzCs9dPzSHloruU+gl
FQIDAQAB
-----END PUBLIC KEY-----`;
let publicKeyBytes = parsePublicPEMKey(publicKeyPEM);
console.log(publicKeyBytes.byteLength);
V3.3.8
SERVER_CONFIG
to allow customizing the OpenTelemetry resource.systemPortal
will now always show bot system.meshPositioningMode
tag to prevent CasualOS from repositioning meshes around the center of the bot.
center
- The mesh will be positioned so it is centered around the bot's center. (Default)absolute
- The mesh won't be repositioned. It will retain the position configured in the GLTF.ai.chat()
and ai.stream.chat()
.
SERVER_CONFIG
needs to be configured with an Anthropic API Key and allowed anthropic
models.stable-image-ultra
, stable-image-core
, sd3-medium
, sd3-large
, sd3-large-turbo
AI image generation models.minio
property in SERVER_CONFIG
.SERVER_CONFIG.moderation.jobs.files
and SERVER_CONFIG.rekognition.moderation
properties.SERVER_CONFIG.notifications
configuration.
file
resources and scanned
actions..png
.webp
.jpg
.jpeg
.gif
superUser
by using the scanFileForModeration
procedure.os.getScriptIssues
function.
mapPortal
would not be able to be closed after having loaded the mapPortal
for a different inst.FAQs
Crypto helpers used by AUX
The npm package @casual-simulation/crypto receives a total of 12 weekly downloads. As such, @casual-simulation/crypto popularity was classified as not popular.
We found that @casual-simulation/crypto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.